/**
 * Created by liuxiaofan on 2017/4/12.
 */
import Vue from 'vue'
import Router from 'vue-router'

import alarm from './config/alarm'
import strategy from './config/strategy'
import settings from './config/settings'
var routes = []
  .concat(alarm)
  .concat(strategy)
  .concat(settings)
  .concat([
    {
      path: '/',
      name: 'home',
      redirect: { name: 'alarm'}
    },
    {
      path: '*',
      name: '404',
      redirect: '/404'
    }
  ])

export default routes
